//
//  indexTableCell.m
//  Estate
//
//  Created by heyong on 16/5/26.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "indexTableCell.h"

@implementation indexTableCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.qiandaoUser.font=[UIFont systemFontOfSize:16*BIZ];
    self.qiandaoDate.font=[UIFont systemFontOfSize:16*BIZ];
    self.qiandaoDate.textColor=[UIColor colorWithRed:0.45 green:0.45 blue:0.46 alpha:1.00];
    self.qiandaoUser.textColor=[UIColor colorWithRed:0.49 green:0.50 blue:0.50 alpha:1.00];
}

//设置分割线
- (void)drawRect:(CGRect)rect
{
    CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSetFillColorWithColor(context, [UIColor clearColor].CGColor); CGContextFillRect(context, rect);
    //上分割线，
//    CGContextSetStrokeColorWithColor(context, [UIColor redColor].CGColor); CGContextStrokeRect(context, CGRectMake(5, -1, rect.size.width - 10, 1));
    //下分割线
    CGContextSetStrokeColorWithColor(context,[UIColor colorWithRed:0.88 green:0.89 blue:0.89 alpha:1.00].CGColor); CGContextStrokeRect(context, CGRectMake(11, rect.size.height, rect.size.width - 20, 1));
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
